package com.cx.pojo;

/**
 * 酒店评论pojo
 */
public class HotelComment {
    private Integer uerId;//评论用户的id
    private Integer hotelId;//被评论的酒店ID
    private String comment;//评论内容
    private String commentDate;//评论时间

    public boolean isGoodComment() {
        return isGoodComment;
    }

    public void setGoodComment(boolean goodComment) {
        isGoodComment = goodComment;
    }

    private boolean isGoodComment = false;//默认布置顶
    public Integer count;//总评论条数



    private Integer hotelScore;//评论给出的酒店评分

    public Integer getUerId() {
        return uerId;
    }

    public void setUerId(Integer uerId) {
        this.uerId = uerId;
    }

    public Integer getHotelId() {
        return hotelId;
    }

    public void setHotelId(Integer hotelId) {
        this.hotelId = hotelId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getCommentDate() {
        return commentDate;
    }

    public void setCommentDate(String commentDate) {
        this.commentDate = commentDate;
    }

    public Integer getHotelScore() {
        return hotelScore;
    }

    public void setHotelScore(Integer hotelScore) {
        this.hotelScore = hotelScore;
    }

    @Override
    public String toString() {
        return "HotelComment{" +
                "uerId=" + uerId +
                ", hotelId=" + hotelId +
                ", comment='" + comment + '\'' +
                ", commentDate='" + commentDate + '\'' +
                ", count=" + count +
                ", hotelScore=" + hotelScore +
                '}';
    }
}
